void main() {
  final name = '小明';
  print(name);
  const age = 18;
  print(age);

  var a = 1;
  var b = 2;
  //const：编译期常量，值在编译时赋值
  // const c = a + b;
  //final：运行时常量，值在运行时赋值
  final d = a + b;

  print(d);
}
